﻿namespace Text2Rss.Web.Models
{
	using System;
	using Text2Rss.Web.Code;

	public class Post : VersionedEntity<Guid>
	{
		public Post()
		{
			Id = Guid.NewGuid();
		}

		/// <summary>
		/// Gets or sets the parent feed
		/// </summary>
		public virtual Feed Feed { get; set; }

		/// <summary>
		/// Gets or sets content of the post
		/// </summary>
		public virtual string Content { get; set; }

		/// <summary>
		/// Gets or sets time of the publishing
		/// </summary>
		public virtual DateTime DateTime { get; set; }
	}
}